package com.mspbots.cw.request;

import com.fasterxml.jackson.databind.node.ObjectNode;
import com.mspbots.dto.BaseDTO;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * com.mspbots.cw.request.TenantRuleDTO
 *
 * @author Jun Zhou
 * @date 11:10 2019/7/1
 **/
@Data
@Accessors(chain = true)
public class TenantRuleDTO implements BaseDTO {

    private Long id;
    private Long tenantId;
    private Long ruleId;
    private Boolean enable;
    private Boolean sending;
    private Boolean escalation;
    private ObjectNode ruleParams;
    private String template;

    private String name;
    private String className;
    private String sysTemplate;
    private ObjectNode sysParams;
    private String times;


    public void setEnable(Boolean enable) {
        this.enable = enable;
    }
}
